package com.cssw.fyzb.core.dao.user;

import com.cssw.fyzb.core.model.dodb.UserSource;

public interface UserSourceDao {
    UserSource getBySourceCode(String sourceCode);

    UserSource getBySourceCode(Integer sourceType, String sourceCode);

    UserSource getBySourceCode(Long userId, Integer sourceType);

    Long save(Long userId, Integer sourceType, String sourceCode, String sourceName);
}
